package net.sk.china.front.strategy;


import net.sk.china.front.request.LoginRequest;
import net.sk.china.front.response.LoginResponse;

/**
 * UserInterface 抽象策略接口
 * +----------------------------------------------------------------------
 * // | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * // +----------------------------------------------------------------------
 * // | Copyright (c) 2018-2024 聊来 All rights reserved.
 * // +----------------------------------------------------------------------
 * // | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * // +----------------------------------------------------------------------
 * // | @Author: 聊来 <18970881148@qq.com>
 * // +----------------------------------------------------------------------
 * // | DateTime: 2024/6/4 14:49
 * // +----------------------------------------------------------------------
 */
public interface UserInterface {


    /**
     * 登录
     * @param request 请求对象
     * @param ip 客户端IP
     * @return {@code LoginResponse}
     */
    LoginResponse login(LoginRequest request, String ip);

}
